import { ItemType, quality, sort_type } from "../../face/enums";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
/**
 * 查看市场列表
 */
export interface marketListItem {
    _id: string,
    name: string,
    emoji: string,
    icon: string,
    quality:quality,
    sell_price: number,
    sell_cont:number
}
export interface ReqList extends BaseRequest {
    /**
     * 道具类型
     */
    type?:ItemType,
    /**
     * 道具名称 - 搜索时包含即可
     */
    name?:string,
    /**
     * 品质
     */
    quality?:quality,
    /**
     * 页码
     */
    page:number,
    /**
     * 排序方式
     */
    sort?:sort_type,
}

export interface ResList extends BaseResponse {
    list: marketListItem[]
    total:number
}

export const conf: BaseConf = {
    
}